/*
 * CompoundStatement.h
 *
 *  Created on: 05/05/2010
 *      Author: rodolfo
 */

#ifndef COMPOUNDSTATEMENT_H_
#define COMPOUNDSTATEMENT_H_

#include "Statement.h"
#include "Declaration.h"
#include <vector>

typedef std::vector<Declaration*> Declarations;
typedef std::vector<Statement*> Statements;
class CompoundStatement: public Statement
{
public:
    Declarations* declarationList;
    Statements* statementList;
    CompoundStatement();
    CompoundStatement ( Declarations *declaretionList, Statements *statementList );
    CompoundStatement ( Statements *statementList );
    CompoundStatement ( Declarations *declarationList );

    virtual ~CompoundStatement();
};

#endif /* COMPOUNDSTATEMENT_H_ */
